package com.alks.function.data.request.biocontrol.deptwork;

import com.alks.entity.data.page.PageParam;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

@Data
public class PrepairRequest extends PageParam {

    @ApiModelProperty(value = "指令")
    private String lotNo;

    @ApiModelProperty(value = "品牌")
    private String custom;

    @ApiModelProperty(value = "型体")
    private String style;

    @ApiModelProperty(value = "楦头")
    private String lastNo;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "下单时间始")
    private LocalDate orderDateStart;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "下单时间末")
    private LocalDate orderDateEnd;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "交期始")
    private LocalDate deliveryDateStart;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "交期末")
    private LocalDate deliveryDateEnd;

    @ApiModelProperty(value = "0.查询全部 1.采购周期不足 2.物料交期不足 3.已延误明细 4.三天内待完成")
    private Integer flag;

    @ApiModelProperty(value = "作业流程")
    private String flow;
}
